const btn = document.getElementById('btn');
const btn1 = document.getElementById('btn1');
btn.onclick = () => {
    myAPI.saveFile('Hello from the renderer process!')
}
btn1.onclick = async () => {
    const a = await myAPI.readFile()
    console.log(a)
}
window.onload = () => {
    myAPI.getMessage((e, str) => {
        console.log(str)
    })
}